using System;

namespace PhillyCodeCamp.Services
{
    public class TaxRateService : ITaxRateService
    {
        private DateTime _taxDay = new DateTime(2009, 4, 15);

        public decimal GetStateTaxRate(string usState, decimal income)
        {
            return .05M;
        }

        public decimal GetUsTaxRate(decimal income)
        {
            return .25M;
        }

        public bool IsSubmittingLate (DateTime submissionDate)
        {
            return submissionDate.CompareTo(_taxDay) > 0;

        }

        public decimal GetLatePaymentPercent()
        {
            return .5M;
        }

        public decimal GetBailedOutTaxRate()
        {
            return 1M;
        }
    }
}